package com.dengcj.db;

import cn.hutool.db.Entity;

/**
 * @author dengchunjie
 * @Description:
 * @date 2022/3/18 14:53
 */
public class DbTest {
    public static void main(String[] args) {
        DB db = new DB();
        Entity entity = db.queryOne("select lastname from hrm_users where id=1");
        System.out.println(entity.get("lastname"));
    }
}
